<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //如果返回是一个对象，那么为了区别{}代码，必须把对象用()括起来
        var func = (a ,b) => ({name:a, name:b})
        var obj = func("KAGE",23)
        console.log(obj)
    </script>
</body>
</html>